package com.bot.nft.module.dc.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bot.common.mybatis.core.BaseMapperPlus;
import com.bot.nft.module.dc.domain.DcOrderInfo;
import com.bot.nft.module.dc.domain.vo.DcOrderInfoVo;
import com.bot.nft.module.dc.domain.vo.DcOrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author RenXiaoZheng
 * @since 2024-01-24
 */
public interface DcOrderInfoMapper extends BaseMapperPlus<DcOrderInfoMapper, DcOrderInfo, DcOrderInfoVo> {

    //查询藏品订单
    //查询藏品订单
    Page<DcOrderInfoVo> selectOrder(@Param("id") String id, @Param("phone") String phone, @Param("name") String name, @Param("status") Integer status, Page page);

    //查看藏品订单信息
    DcOrderInfoVo getDcOrder(String id);

    //查询藏品订单APP端
    Page<DcOrderVo> queryOrder(Page<DcOrderVo> page,@Param("phone") String phone, @Param("type") List<Integer> type, @Param("status") List<Integer> status, @Param("name") String name, @Param("startTime") Date startTime, @Param("endTime") Date endTime);



}
